import { defineStore } from 'pinia'

export const useStore = defineStore('store', {
  state: () => ({
    token: '',
    config: {},
  }),

  actions: {
    setToken(token = []) {
      this.token = token
    },

    setConfig(config = {}) {
      this.config = config
    },
  },
})
